package com.ztgf.commodity.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * author: chenyu.wang
 * date: 2020-06-08 15:27
 * Description: 商品规格属性VO
 */
@Data
public class CommodityAttrVO implements Serializable {

    @ApiModelProperty(value = "规格属性id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "规格表id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long specificationId;
    @ApiModelProperty(value = "属性名称")
    private String attrName;
}
